﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.MobileControls;

public partial class SelectionList_MultipleSelectionListExample : System.Web.UI.MobileControls.MobilePage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void HandleMultiTeamSelection(Object source, EventArgs args)
    {
        this.ActiveForm = Form2;
        // Get the list items collection.
        MobileListItemCollection colItems = SelectionList1.Items;
        String strDisplaytext = "";
        foreach (MobileListItem item in colItems)
        {
            if (item.Selected)
            {
                strDisplaytext += (item.Text + ": " + item.Value + "<BR>");
            }
        }
        TextView1.Text = strDisplaytext;
    }
}